package com.apanal.qlife.sys.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.apanal.qlife.common.page.Page;
import com.apanal.qlife.sys.model.Area;

public interface AreaMapper {
	int deleteByPrimaryKey(Long areId);

	int insert(Area record);

	int insertSelective(Area record);

	Area selectByPrimaryKey(Long areId);

	int updateByPrimaryKeySelective(Area record);

	int updateByPrimaryKey(Area record);

	List<Area> findAreaList(Area area);

	int selectRelationForPageCount(@Param(value = "e") Area area,
			@Param(value = "p") Page page);

	List<Area> selectRelationForPage(@Param(value = "e") Area area,
			@Param(value = "p") Page page);

	List<Area> select(Area param);

}